package com.czy.exception;

/**
 * 自定义异常类
 */
public class SystemException extends RuntimeException{
    private int code;//异常响应码

    public SystemException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
